/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */
#ifndef __QS_DiagramWidget_H__
#define __QS_DiagramWidget_H__

#include "Prerequisites.h"
#include "DiagramView.h"


namespace QSThink
{
	class DiagramWidget : 
		public QWidget
	{
	public:
		DiagramWidget(QWidget *parent=0);
		~DiagramWidget();
		//
		void load(QString symbol,QDate date);


		void load(QString symbol);
		void loadPriceEx(QString symbol);
		void loadCapital(QString symbol);
		
		

	protected:
		DiagramView* _view;
	};
}
#endif
